package com.sanyang.logistics.WarehouseManager.dao;

import java.util.List;

import org.mybatis.spring.support.SqlSessionDaoSupport;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.sanyang.logistics.WarehouseManager.mapper.PickoutMapper;
import com.sanyang.logistics.pojo.PickOut;
import com.sanyang.logistics.pojo.PickoutProdBridge;
import com.sanyang.logistics.pojo.PrepareOutWarehouse;
import com.sanyang.logistics.pojo.Warehouse;

@Repository("cdao")
public class PickoutDaoImpl implements PickoutDao{
@Autowired
private PickoutMapper mapper;

	@Override
	public List<PickOut> queryAll(PickOut pickOut) {
		// TODO Auto-generated method stub
		return mapper.queryAll(pickOut);
	}

	@Override
	public List<Warehouse> querySome() {
		// TODO Auto-generated method stub
		return mapper.querySome();
	}

	@Override
	public List<PickoutProdBridge> getAll(Integer pickout_id) {
		// TODO Auto-generated method stub
		return mapper.getAll(pickout_id);
	}



	@Override
	public void upd(PickoutProdBridge pickoutProdBridge) {
		// TODO Auto-generated method stub
	   mapper.upd(pickoutProdBridge);
	}

	@Override
	public void del() {
		// TODO Auto-generated method stub
		mapper.del();
	}
	
	@Override
	public void tj(PickoutProdBridge pickoutProdBridge) {
		// TODO Auto-generated method stub
		mapper.tj(pickoutProdBridge);
	}

	
	@Override
	public List<PrepareOutWarehouse> getall(Integer pickout_id) {
		// TODO Auto-generated method stub
		return mapper.getall(pickout_id);
	}
	
	
	@Override
	public void updat(int pickout_id) {
		// TODO Auto-generated method stub
		mapper.updat(pickout_id);
	}
	

	@Override
	public void dele(Integer preout_id) {
		// TODO Auto-generated method stub
		mapper.dele(preout_id);
	}

	@Override
	public void upsl(PickoutProdBridge pickoutProdBridge) {
		// TODO Auto-generated method stub
		mapper.upsl(pickoutProdBridge);
	}

	@Override
	public List<PickOut> queryAl() {
		// TODO Auto-generated method stub
		return mapper.queryAl();
	}

	@Override
	public void upzt(Integer pickout_id) {
		// TODO Auto-generated method stub
		mapper.upzt(pickout_id);
	}

	

	

}
